<?php
$pageId = 'index';
$bannerSize = count($data['banner']);

//dump($data);
//dump($_ENV);
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>天生我才 - 移动版</title>
    <include file="Common/meta"/>
    <include file="Common/link"/>
</head>
<body>
<header class="layout-header">
    <div class="container">
        <div class="search-box dropdown">
            <button type="button" class="btn search-select dropdown-toggle"
                    data-toggle="dropdown">
                <span id="tc-select-text">学生</span>
                <i class="icon icon-down"></i>
            </button>
            <ul id="tc-select" class="dropdown-menu" role="menu">
                <li><a href="#" data-value="0">学生</a></li>
                <li><a href="#" data-value="1">企业</a></li>
                <!--<li><a href="#" data-value="2">资讯</a></li>-->
                <li><a href="#" data-value="3">竞赛</a></li>
            </ul>
            <input id="search-input" class="search-input" value="{$data['key']}" placeholder="请输入关键字搜索">
            <a href="#"></a> <i id="search-btn" class="icon icon-search"></i>
        </div>
        <a class="header-back" href="/"><i class="icon icon-left"></i></a>
    </div>

</header>
<div class="layout-body">
    <div class="container">
        <div class="hot-search">
            <h2 class="title">热门搜索</h2>
            <ul class="keyword-list">
                <li class="list-item"><a class="link" href="/common/search?type=0&key=广东工业大学"> 广东工业大学</a></li>
                <li class="list-item"><a class="link" href="/common/search?type=0&key=中山大学">中山大学</a> </li>
                <li class="list-item"><a class="link" href="/common/search?type=0&key=华南理工大学">华南理工大学</a> </li>
                <li class="list-item"><a class="link" href="/common/search?type=0&key=广东外语外贸大学">广东外语外贸大学</a> </li>
            </ul>
        </div>
    </div>
</div>
<script>
    var page = {
        userType: '{$_ENV['user']['type']}',
        type: '{$data['type']}',
        keyword: '{$data['key']}',
        searchType: 0,
        searchArea: '{$data['area']}',
        searchIndustry: '{$data['indus']}'
    };
</script>
<include file="Common/script"/>
<script src="__PUBLIC__/asset/js/search.js"></script>
</body>
</html>